package com.hjt.gulimall.product.dao;

import com.hjt.gulimall.product.entity.AttrGroupEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hjt.gulimall.product.vo.SkuItemVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性分组
 * 
 * @author huangjingtai
 * @email 970075985@qq.com
 * @date 2021-09-08 16:15:19
 */
@Mapper
public interface AttrGroupDao extends BaseMapper<AttrGroupEntity> {

    List<SkuItemVo.SpuItemBaseGroupVo> selectAttrGroupWithAttrs(@Param("spuId") Long spuId, @Param("catalogId") Long catalogId);
}
